#
# Oliver Soop oliversoop@gmail.com
# 23. October  2013
#
This script is for parsing URLs from Facebook posts and comments. Besides it will also map and store relations between different Facebook entities: posts, comments and likes.
This script is prescribed for a database containing the information with a set schema. (See FBParsingScript.py for more info)
In this script there are following Python scripts files:
	configuration.py - Here the configuration of database is located. 
	FBParsingScript.py - This script coordinates the whole processing and makes all the database queries. More exact description present in the corresponding file.
	FBUrlParser.py - This script parses URLs from different texts (Facebook posts and comments). More exact description present in the corresponding file.
	MainScript.py - This script initiates the processing and here one can set the location of resulting files. More exact description present in the corresponding file.
	URLChecker.py - This script checks if a URL is valid and if it is a short URL it will expand it. More exact description present in the corresponding file.

Necessary libraries:
	MySQL Python connector http://dev.mysql.com/downloads/connector/python/
	Python v2.7

To run the script, set the database connection info in configuration.py and output files in MainScript.py and run the MainScript.py.